f55396_source_key = 'b1f7db6bb702b206f3697716dabe3ccb'; ref = document.referrer; reg_obj_1 = new RegExp("^http:\/\/img\.shinobi\.jp\/test\/axad2.html\\?(.*)$", "g"); if(window.location.href.match(reg_obj_1)){ ref = RegExp.$1+"__"+f55396_source_key+"__"+f55396_urlencode(ref); }else{ ref = f55396_urlencode(ref); } try{ if(ad_count == undefined){ var ad_count = 0; } }catch(e){ var ad_count = 0; } ad_count++; // if(ad_count <= 3){ function f55396_writeFrame(){ var frame_html = ''; document.write(frame_html); frame_html = ""; } f55396_writeFrame(); // }else{ // document.write(''); // } function f55396_urlencode(str){ var enc_str = "% !\"#$&'()*+,/:;<=>?@[]^`{|}~"; for(var i = 0;i < enc_str.length;i++){ var char_n = parseInt(enc_str.charCodeAt(i)); var rep_word = enc_str.substr(i, 1); str = str.replace(new RegExp("\\"+rep_word, "g"), "%"+char_n.toString(16)); } return str; }